package org.example;

import java.io.File;
import java.io.IOException;
import java.util.List;

public class Main {

    public static void main(String[] args) {

        String directoryPath = "E:\\yy_work\\project\\SEM_EPM_P";

        try {
            List<File> javaFiles = FileWalker.findJavaFiles(directoryPath);
            for (File file : javaFiles) {
                SQLKeywordFinderWithJavaParser.findSQLKeywordsInFile(file);
            }
        } catch (IOException e) {
            System.err.println("Error: " + e.getMessage());
        }
    }
}